import openai
openai.api_key = "sk-nykufemoesvlrzpzqtbzmxfpnxbpueajagctksungersiaqx"
openai.api_base = "https://api.siliconflow.cn/v1"

resp = openai.ChatCompletion.create(
    model="deepseek-ai/DeepSeek-R1-0528-Qwen3-8B",
    messages=[
        {"role": "user", "content": "推荐一个1000元以内的耳机"}
    ]
)
print(resp.choices[0].message.content)
